<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: syslog4cj.impl.message.modifier.hash.HashSyslogMessageModifier Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacesyslog4cj.html">syslog4cj</a></li><li class="navelem"><a class="el" href="namespacesyslog4cj_1_1impl.html">impl</a></li><li class="navelem"><a class="el" href="namespacesyslog4cj_1_1impl_1_1message.html">message</a></li><li class="navelem"><a class="el" href="namespacesyslog4cj_1_1impl_1_1message_1_1modifier.html">modifier</a></li><li class="navelem"><a class="el" href="namespacesyslog4cj_1_1impl_1_1message_1_1modifier_1_1hash.html">hash</a></li><li class="navelem"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1hash_1_1HashSyslogMessageModifier.html">HashSyslogMessageModifier</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1hash_1_1HashSyslogMessageModifier-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">syslog4cj.impl.message.modifier.hash.HashSyslogMessageModifier Class Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for syslog4cj.impl.message.modifier.hash.HashSyslogMessageModifier:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1hash_1_1HashSyslogMessageModifier.png" usemap="#syslog4cj.impl.message.modifier.hash.HashSyslogMessageModifier_map" alt=""/>
  <map id="syslog4cj.impl.message.modifier.hash.HashSyslogMessageModifier_map" name="syslog4cj.impl.message.modifier.hash.HashSyslogMessageModifier_map">
<area href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier.html" alt="syslog4cj.impl.message.modifier.AbstractSyslogMessageModifier" shape="rect" coords="0,56,393,80"/>
<area href="interfacesyslog4cj_1_1common_1_1SyslogMessageModifierIF.html" alt="syslog4cj.common.SyslogMessageModifierIF" shape="rect" coords="0,0,393,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a642d9f9b196280997f97c614a722a787"><td class="memItemLeft" align="right" valign="top">public static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1hash_1_1HashSyslogMessageModifier.html#a642d9f9b196280997f97c614a722a787">createMD5</a> ()</td></tr>
<tr class="separator:a642d9f9b196280997f97c614a722a787"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60da5804316b48ed8184cfd55c681e31"><td class="memItemLeft" align="right" valign="top">public static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1hash_1_1HashSyslogMessageModifier.html#a60da5804316b48ed8184cfd55c681e31">createSHA1</a> ()</td></tr>
<tr class="separator:a60da5804316b48ed8184cfd55c681e31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a536b27f142c5dba69bb3251e77c07f6f"><td class="memItemLeft" align="right" valign="top">public static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1hash_1_1HashSyslogMessageModifier.html#a536b27f142c5dba69bb3251e77c07f6f">createSHA160</a> ()</td></tr>
<tr class="separator:a536b27f142c5dba69bb3251e77c07f6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af060339a1a2d60229e980154d0d163de"><td class="memItemLeft" align="right" valign="top">public static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1hash_1_1HashSyslogMessageModifier.html#af060339a1a2d60229e980154d0d163de">createSHA256</a> ()</td></tr>
<tr class="separator:af060339a1a2d60229e980154d0d163de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8dac09d4911ea5c81c46f815c306c62"><td class="memItemLeft" align="right" valign="top">public static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1hash_1_1HashSyslogMessageModifier.html#ac8dac09d4911ea5c81c46f815c306c62">createSHA384</a> ()</td></tr>
<tr class="separator:ac8dac09d4911ea5c81c46f815c306c62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa67e3ef2f4e4e4aa0dbf8db3fc7b6b26"><td class="memItemLeft" align="right" valign="top">public static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1hash_1_1HashSyslogMessageModifier.html#aa67e3ef2f4e4e4aa0dbf8db3fc7b6b26">createSHA512</a> ()</td></tr>
<tr class="separator:aa67e3ef2f4e4e4aa0dbf8db3fc7b6b26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef2a2fcb2a8e2d8f3ab0fc033fbb68a3"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1hash_1_1HashSyslogMessageModifier.html#aef2a2fcb2a8e2d8f3ab0fc033fbb68a3">getConfig</a> ()</td></tr>
<tr class="separator:aef2a2fcb2a8e2d8f3ab0fc033fbb68a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8681337b557eb48bc9e0abcad83442eb"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1hash_1_1HashSyslogMessageModifier.html#a8681337b557eb48bc9e0abcad83442eb">modify</a> (<a class="el" href="interfacesyslog4cj_1_1common_1_1SyslogIF.html">SyslogIF</a> syslog, Int64 facility, Int64 level, String message)</td></tr>
<tr class="separator:a8681337b557eb48bc9e0abcad83442eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3344544fb7b987cf3b17b82e03969ba"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1hash_1_1HashSyslogMessageModifier.html#ae3344544fb7b987cf3b17b82e03969ba">verify</a> (String message, String base64Hash)</td></tr>
<tr class="separator:ae3344544fb7b987cf3b17b82e03969ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a056e046ece87a0accfb48ab98a6823b3"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1hash_1_1HashSyslogMessageModifier.html#a056e046ece87a0accfb48ab98a6823b3">verify</a> (String message, Array&lt; Byte &gt; hash)</td></tr>
<tr class="separator:a056e046ece87a0accfb48ab98a6823b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier.html">syslog4cj.impl.message.modifier.AbstractSyslogMessageModifier</a></td></tr>
<tr class="memitem:a87ccc9fd1c4dd21e0e474e10a228afdd inherit pub_methods_classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier.html#a87ccc9fd1c4dd21e0e474e10a228afdd">init</a> (<a class="el" href="interfacesyslog4cj_1_1common_1_1SyslogMessageModifierConfigIF.html">SyslogMessageModifierConfigIF</a> messageModifierConfig)</td></tr>
<tr class="separator:a87ccc9fd1c4dd21e0e474e10a228afdd inherit pub_methods_classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6157a58046be6df0826f6f172ace10a inherit pub_methods_classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier"><td class="memItemLeft" align="right" valign="top">public static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier.html#ab6157a58046be6df0826f6f172ace10a">parseModifier</a> (String message, String prefix, String suffix)</td></tr>
<tr class="separator:ab6157a58046be6df0826f6f172ace10a inherit pub_methods_classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae33a9b5d876e7825e6b7786a46fa7a2c inherit pub_methods_classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier.html#ae33a9b5d876e7825e6b7786a46fa7a2c">parseInlineModifier</a> (String message)</td></tr>
<tr class="separator:ae33a9b5d876e7825e6b7786a46fa7a2c inherit pub_methods_classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f78854c2447ab958d907113a88c034a inherit pub_methods_classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier.html#a9f78854c2447ab958d907113a88c034a">verify</a> (String message):Bool</td></tr>
<tr class="separator:a9f78854c2447ab958d907113a88c034a inherit pub_methods_classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f65d76f12bd3b028d7fefb6d1b9a111"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1common_1_1SyslogMessageModifierIF.html#a8f65d76f12bd3b028d7fefb6d1b9a111">modify</a> (<a class="el" href="interfacesyslog4cj_1_1common_1_1SyslogIF.html">SyslogIF</a> syslog, Int64 facility, Int64 level, String message):String</td></tr>
<tr class="separator:a8f65d76f12bd3b028d7fefb6d1b9a111"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a581a1f2aee3c0fbd34270775e1aab851"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1common_1_1SyslogMessageModifierIF.html#a581a1f2aee3c0fbd34270775e1aab851">verify</a> (String message):Bool</td></tr>
<tr class="separator:a581a1f2aee3c0fbd34270775e1aab851"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ac40bdd06a8dc37b2b88046ad0259905d"><td class="memItemLeft" align="right" valign="top">protected func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1hash_1_1HashSyslogMessageModifier.html#ac40bdd06a8dc37b2b88046ad0259905d">obtainMessageDigest</a> ():Digest</td></tr>
<tr class="separator:ac40bdd06a8dc37b2b88046ad0259905d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier.html">syslog4cj.impl.message.modifier.AbstractSyslogMessageModifier</a></td></tr>
<tr class="memitem:a29538dbc79c30c0f36dda70cf618618a inherit pro_methods_classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier"><td class="memItemLeft" align="right" valign="top">protected func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier.html#a29538dbc79c30c0f36dda70cf618618a">verify</a> (String message, String modifier):Bool</td></tr>
<tr class="separator:a29538dbc79c30c0f36dda70cf618618a inherit pro_methods_classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ac89ef62d20dc38593df71f9de1dd5722"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1hash_1_1HashSyslogMessageModifier.html#ac89ef62d20dc38593df71f9de1dd5722">let config</a> : <a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1hash_1_1HashSyslogMessageModifierConfig.html">HashSyslogMessageModifierConfig</a></td></tr>
<tr class="separator:ac89ef62d20dc38593df71f9de1dd5722"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier.html">syslog4cj.impl.message.modifier.AbstractSyslogMessageModifier</a></td></tr>
<tr class="memitem:aebd8c9339bfc42a7f2d1bb27d746e95b inherit pro_attribs_classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier.html#aebd8c9339bfc42a7f2d1bb27d746e95b">var messageModifierConfig</a> : <a class="el" href="interfacesyslog4cj_1_1common_1_1SyslogMessageModifierConfigIF.html">SyslogMessageModifierConfigIF</a></td></tr>
<tr class="separator:aebd8c9339bfc42a7f2d1bb27d746e95b inherit pro_attribs_classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1AbstractSyslogMessageModifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>为 Syslog 消息添加哈希摘要的修饰器<br  />
 在日志消息末尾附加指定算法的哈希值（Base64 编码），用于消息完整性验证。 </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a642d9f9b196280997f97c614a722a787" name="a642d9f9b196280997f97c614a722a787"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a642d9f9b196280997f97c614a722a787">&#9670;&#160;</a></span>createMD5()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public static func syslog4cj.impl.message.modifier.hash.HashSyslogMessageModifier.createMD5 </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>创建 MD5 哈希修饰器（默认配置） </p>

</div>
</div>
<a id="a60da5804316b48ed8184cfd55c681e31" name="a60da5804316b48ed8184cfd55c681e31"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a60da5804316b48ed8184cfd55c681e31">&#9670;&#160;</a></span>createSHA1()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public static func syslog4cj.impl.message.modifier.hash.HashSyslogMessageModifier.createSHA1 </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>创建 SHA-1 哈希修饰器（默认配置） </p>

</div>
</div>
<a id="a536b27f142c5dba69bb3251e77c07f6f" name="a536b27f142c5dba69bb3251e77c07f6f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a536b27f142c5dba69bb3251e77c07f6f">&#9670;&#160;</a></span>createSHA160()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public static func syslog4cj.impl.message.modifier.hash.HashSyslogMessageModifier.createSHA160 </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>创建 SHA-160 哈希修饰器（默认配置） </p>

</div>
</div>
<a id="af060339a1a2d60229e980154d0d163de" name="af060339a1a2d60229e980154d0d163de"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af060339a1a2d60229e980154d0d163de">&#9670;&#160;</a></span>createSHA256()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public static func syslog4cj.impl.message.modifier.hash.HashSyslogMessageModifier.createSHA256 </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>创建 SHA-256 哈希修饰器（默认配置） </p>

</div>
</div>
<a id="ac8dac09d4911ea5c81c46f815c306c62" name="ac8dac09d4911ea5c81c46f815c306c62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8dac09d4911ea5c81c46f815c306c62">&#9670;&#160;</a></span>createSHA384()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public static func syslog4cj.impl.message.modifier.hash.HashSyslogMessageModifier.createSHA384 </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>创建 SHA-384 哈希修饰器（默认配置） </p>

</div>
</div>
<a id="aa67e3ef2f4e4e4aa0dbf8db3fc7b6b26" name="aa67e3ef2f4e4e4aa0dbf8db3fc7b6b26"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa67e3ef2f4e4e4aa0dbf8db3fc7b6b26">&#9670;&#160;</a></span>createSHA512()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public static func syslog4cj.impl.message.modifier.hash.HashSyslogMessageModifier.createSHA512 </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>创建 SHA-512 哈希修饰器（默认配置） </p>

</div>
</div>
<a id="aef2a2fcb2a8e2d8f3ab0fc033fbb68a3" name="aef2a2fcb2a8e2d8f3ab0fc033fbb68a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef2a2fcb2a8e2d8f3ab0fc033fbb68a3">&#9670;&#160;</a></span>getConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func syslog4cj.impl.message.modifier.hash.HashSyslogMessageModifier.getConfig </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取当前配置</p>
<dl class="section return"><dt>Returns</dt><dd>哈希算法配置实例 </dd></dl>

</div>
</div>
<a id="a8681337b557eb48bc9e0abcad83442eb" name="a8681337b557eb48bc9e0abcad83442eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8681337b557eb48bc9e0abcad83442eb">&#9670;&#160;</a></span>modify()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func syslog4cj.impl.message.modifier.hash.HashSyslogMessageModifier.modify </td>
          <td>(</td>
          <td class="paramname"><em>syslog</em>:&#160;</td>
          <td class="paramtype">SyslogIF, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>facility</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>level</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>message</em>:&#160;</td>
          <td class="paramtype">String&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>修改日志消息：附加哈希摘要</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">syslog</td><td>Syslog实例 </td></tr>
    <tr><td class="paramname">facility</td><td>设施类型 </td></tr>
    <tr><td class="paramname">level</td><td>日志级别 </td></tr>
    <tr><td class="paramname">message</td><td>原始日志消息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>附加哈希摘要后的消息（格式：原始消息 + 前缀 + Base64(哈希) + 后缀） </dd></dl>

<p>Implements <a class="el" href="interfacesyslog4cj_1_1common_1_1SyslogMessageModifierIF.html#a8f65d76f12bd3b028d7fefb6d1b9a111">syslog4cj.common.SyslogMessageModifierIF</a>.</p>

</div>
</div>
<a id="ac40bdd06a8dc37b2b88046ad0259905d" name="ac40bdd06a8dc37b2b88046ad0259905d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac40bdd06a8dc37b2b88046ad0259905d">&#9670;&#160;</a></span>obtainMessageDigest()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected func syslog4cj.impl.message.modifier.hash.HashSyslogMessageModifier.obtainMessageDigest </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Digest </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建自定义配置的哈希修饰器</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">config</td><td>哈希算法配置</td></tr>
  </table>
  </dd>
</dl>
<p>获取当前配置的哈希算法对应的消息摘要实例</p>
<dl class="section return"><dt>Returns</dt><dd>消息摘要实例 </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SyslogRuntimeException</td><td>不支持的哈希算法类型 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a056e046ece87a0accfb48ab98a6823b3" name="a056e046ece87a0accfb48ab98a6823b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a056e046ece87a0accfb48ab98a6823b3">&#9670;&#160;</a></span>verify() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func syslog4cj.impl.message.modifier.hash.HashSyslogMessageModifier.verify </td>
          <td>(</td>
          <td class="paramname"><em>message</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>hash</em>:&#160;</td>
          <td class="paramtype">Array&lt;Byte&gt;&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>验证消息完整性（原始字节哈希版本）</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">message</td><td>原始日志消息（不含哈希部分） </td></tr>
    <tr><td class="paramname">hash</td><td>原始哈希字节数组 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>验证结果（true=哈希匹配） </dd></dl>

</div>
</div>
<a id="ae3344544fb7b987cf3b17b82e03969ba" name="ae3344544fb7b987cf3b17b82e03969ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae3344544fb7b987cf3b17b82e03969ba">&#9670;&#160;</a></span>verify() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func syslog4cj.impl.message.modifier.hash.HashSyslogMessageModifier.verify </td>
          <td>(</td>
          <td class="paramname"><em>message</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>base64Hash</em>:&#160;</td>
          <td class="paramtype">String&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>验证消息完整性（Base64哈希版本）</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">message</td><td>原始日志消息（不含哈希部分） </td></tr>
    <tr><td class="paramname">base64Hash</td><td>Base64编码的哈希值 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>验证结果（true=哈希匹配） </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ac89ef62d20dc38593df71f9de1dd5722" name="ac89ef62d20dc38593df71f9de1dd5722"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac89ef62d20dc38593df71f9de1dd5722">&#9670;&#160;</a></span>let config</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">syslog4cj.impl.message.modifier.hash.HashSyslogMessageModifier.let config : <a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1hash_1_1HashSyslogMessageModifierConfig.html">HashSyslogMessageModifierConfig</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>哈希算法配置 </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/impl/message/modifier/hash/<a class="el" href="hash__syslog__message__modifier_8cj.html">hash_syslog_message_modifier.cj</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6
</small></address>
</body>
</html>
